From: Milan Bouchet-Valat Date: Fri, 27 Mar 2015 17:05:26 +0000 (+0100) Subject: Create additional symlinks to .so file on non-OSX X-Git-Tag: archive/raspbian/2.11.3-2+rpi1^2~24^2^2~201^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1b7ba89cdd4f8e860ff2e9e89a9d80b1cd0308f8;p=utf8proc.git Create additional symlinks to .so file on non-OSX --- diff --git a/Makefile b/Makefile index 16ad336..628d137 100644 --- a/Makefile +++ b/Makefile @@ -80,6 +80,10 @@ install: libutf8proc.a libutf8proc.$(SHLIB_EXT) libutf8proc.$(SHLIB_VERS_EXT) $(INSTALL) -m 644 libutf8proc.a $(DESTDIR)$(libdir) $(INSTALL) -m 755 libutf8proc.$(SHLIB_VERS_EXT) $(DESTDIR)$(libdir) ln -f -s $(libdir)/libutf8proc.$(SHLIB_VERS_EXT) $(DESTDIR)$(libdir)/libutf8proc.$(SHLIB_EXT) +ifneq ($(OS),Darwin) + ln -f -s $(libdir)/libutf8proc.$(SHLIB_VERS_EXT) $(DESTDIR)$(libdir)/libutf8proc.so.$(MAJOR) + ln -f -s $(libdir)/libutf8proc.$(SHLIB_VERS_EXT) $(DESTDIR)$(libdir)/libutf8proc.so.$(MAJOR).$(MINOR) +endif # Test programs